package com.ddwl.schema.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * (SecondKillOrder)返回对象
 *
 * @author zach
 * @since 2020-10-29 11:49:07
 */
@Getter
@Setter
@ApiModel(value = "")
public class SecondKillOrderVo {
    private String id;
    @ApiModelProperty(value = "用户ID")     
    private String userId;

    @ApiModelProperty(value = "订单ID")     
    private String orderNo;

    @ApiModelProperty(value = "秒杀活动ID")     
    private String seckillId;

    @ApiModelProperty(value = "秒杀商品Code")
    private String seckillSkuCode;

    @ApiModelProperty(value = "订单创建状态(0创建,10已提交订单,20成功,30失败)")     
    private String creStatus;

    @ApiModelProperty(value = "商品单价")
    private BigDecimal skuPrice;
    @ApiModelProperty(value = "商品件数")
    private BigDecimal skuQty;
    @ApiModelProperty("创建时间")
    private Instant gmtCreated;

    @ApiModelProperty("修改时间")
    private Instant gmtModified;
}